package com.example.k8s.hello.service.sys.config;

import org.springdoc.core.models.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SysSwaggerConfig {
    @Bean
    public GroupedOpenApi sysApi() {
        return GroupedOpenApi.builder()
                .group("系统管理").packagesToScan("com.example.k8s.hello.service.sys")
                .build();
    }
}
